/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package inventory;

/**
 *
 * @author Irvin
 */
public class Request {
    /* The product id. */
    private int rqid;
    private int id;
    private int quantity;
    private String skey;
    
    public Request(int rqid, int id, int quantity, String skey) {
        this.rqid = rqid;
        this.id = id;
        this.quantity = quantity;
        this.skey = skey;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getSkey() {
        return skey;
    }

    public void setSkey(String skey) {
        this.skey = skey;
    }    

    public int getRqid() {
        return rqid;
    }

    public void setRqid(int rqid) {
        this.rqid = rqid;
    }

    @Override
    public String toString() {
        return id + "," + quantity + "," + skey;
    }
}
